home *** CD-ROM | disk | FTP | other *** search
-
- ZipLog 1.0 - Copyright 1995,96 Ron Whitney (1:236/20.3@Fidonet)
-
- Purpose:
-
- ZipLog was written as an Ad-Hoc utility to archive my
- Binkley.log file once per month.
-
- What it does:
-
- ZipLog will rename any specified filename.ext to mmddyy.ext
- and will then invoke PKZIP to create an archive of the same
- name. The -M parameter is used so that PKZIP will "move"
- the file to the archive thus ZipLog tends to clean up after
- itself.
-
- NOTE: PKZIP must exist either in the currect directory or be
- found via the PATH statement. For most people this is
- not a problem.
-
- Usage:
-
- Specify the name of the file you wish to archive on the command
- line. The file's extension must be included.
-
- ZIPLOG filename.ext
- where filename.ext is the file you wish to archive.
- The filename is NOT case sensitive and may include the full
- path to the file. The archived file will be created in the
- current directory.
-
- Example:
-
- I have BinkleyTerm exit with Errorlevel 91 at midnight on the
- first of the month. BINK.BAT (my batch file to run BinkleyTerm)
- includes the following lines:
-
- If Errorlevel 91 Goto BOM
- .
- .
- :BOM
- C:
- CD \BINK\LOG
- ZIPLOG BINKLEY.LOG
-
- When this ran on February 1, 1996 the following happened:
-
- 1) BINKLEY.LOG as renamed to 020196.LOG
- 2) 020196.LOG was archived to 020196.ZIP
- 3) 020196.LOG was deleted once it was archived.
-
- ZipLog.Doc ver. 1.0 Page 1
-
- This program was written in Microsoft QuickBASIC 3.0 with my
- apoligies to all who write in a "real" language.
- If you wish to change or modify this code and do not have a BASIC
- compiler, send the changes to me and I will try to return a
- compiled version to you. See below for ways to contact me.
-
- Copyrights:
-
- BinkleyTerm - Copyright (C) Bit Bucket Software, Co.
- PKZIP - Copyright (C) PKWARE Inc.
- QuickBASIC - Copyright (C) Microsoft Corp.
-
- My thanks to the above named!
-
- If it is possible to truly copyright something simply by
- declaring it then I copyright this material as per the notice
- at the head of this file.
-
- Anyone is free to use and modify this material to suit their
- needs as long as they document their changes before giving it
- to anyone else. In other words, I don't want credit for your
- work nor do I want you to get blamed for my lousy code.
-
- Questions, Comments, Requests for custom copies, etc. may be
- directed to the following:
-
- FidoNet Netmail - 1:236/20.3 or 1:236/58
- Fax / Voicemail - (219) 436-0153
- U.S. Mail Ron Whitney
- P.O. Box 10204
- Fort Wayne IN 46851-0204
-
- Use and Enjoy!
-
- Make revision notes below:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ZipLog.Doc ver. 1.0 Page 2